import mongoose = require('mongoose');
import { Document, Model } from 'mongoose';

let recordSchema = new mongoose.Schema({
    recorddate:Date,
    username:String,
    ipaddr:String,	  
    description:String,
    success:Boolean
});

export var MODEL:Model<Document> = mongoose.model("operatorrecord", recordSchema);